<template>
  <div id="app">
    <Footer
      v-if="
        $route.path == '/' ||
        $route.path == '/video' ||
        $route.path == '/minivideo' ||
        $route.path == '/home/reying' ||
        $route.path == '/home/yingyuan' ||
        $route.path == '/home/daiying' ||
        $route.path == '/home/jingdian' ||
        $route.path == '/home'
      "
    ></Footer>
    <router-view />
  </div>
</template>

<script>
import Footer from "./components/common/Footer.vue";
export default {
  name: "App",
  components: {
    Footer,
  },
  mounted() {
    console.log(this.$route);
  },
};
</script>

<style>
/*清除浏览器的默认样式*/
* {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
ul li {
  list-style: none;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  font-size: 12px;
}
</style>
